trivial-httpd: Fix leak of option context
authorColin Walters <walters@verbum.org>
Sun, 24 Jul 2016 18:54:07 +0000 (14:54 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 28 Jul 2016 10:10:17 +0000 (10:10 +0000)
commit7f335a843797ac0c103be6883832886a1a02a399
tree32baa1e953af02699d6d34798c647d2c6f638e45
parentbac1fa18390da157e8b9aa9014b4e901af8d7fce
trivial-httpd: Fix leak of option context

Right now our valgrind runs also end up valgrinding the
`trivial-httpd` code, so while it doesn't matter, let's fix this leak
anyways.  We need to avoid calling `_exit()` since that won't run the
cleanup functions.

Closes: #410
Approved by: giuseppe
src/ostree/ot-builtin-trivial-httpd.c